package co.edu.usbcali.csru.dataaccess.dao;

import co.edu.usbcali.csru.modelo.TipoPersona;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for TipoPersonaDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface ITipoPersonaDAO {
    public void save(TipoPersona instance);

    public void delete(TipoPersona instance);

    public void update(TipoPersona instance);

    public TipoPersona findById(String id);

    public List<TipoPersona> findByExample(TipoPersona instance);

    public List<TipoPersona> findByProperty(String propertyName, Object value);

    public List<TipoPersona> findAll();

    public List<TipoPersona> findByCriteria(String whereCondition);

    public List<TipoPersona> findPageTipoPersona(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberTipoPersona();

    public List<TipoPersona> findByTipCodigoP(Object tipCodigoP);

    public List<TipoPersona> findByTipNombreP(Object tipNombreP);
}
